<div class="CommonHeader">
  <div class="CommonBackBtn">
    <a href="javascript:history.go(-1)"
      ><img src="__CDN__/map/images/return_black.png" alt="返回"
    /></a>
  </div>
  <div class="CommonTitle">账号管理</div>
</div>

<div class="CommonMain">
  <div class="DrawingstList">
    {foreach $bank as $vo}
    <div class="DrawingstCli am-cf" onclick="onclicks('{$vo.id}')">
      <div class="am-fl bankName" id="{$vo.id}">
        <p class="p1">{$vo.name}</p>
      </div>
      <div class="am-fr bankNumber">
        <p class="p2">{$vo.account}</p>
      </div>
    </div>
    {/foreach}
  </div>
  <div class="huidiv20"></div>
  <div class="addBank">
    <a href="{:url('user/addbankaccount')}">
      + 添加银行卡
    </a>
  </div>
</div>
<style>
  .bankNumber .p2 {
    font-size: 0.32rem;
    line-height: 0.4rem;
    color: #323232;
  }
</style>
<script>
  function onclicks(id) {
    window.location.href = "{:url('user/addbankaccount')}?id=" + id;
  }
</script>
